package com.example.p242log4j2;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class P242Log4j2Application {
    private static Logger logger =
            LoggerFactory.getLogger(P242Log4j2Application.class);


    public static void main(String[] args) {
        SpringApplication.run(P242Log4j2Application.class, args);
        logger.info("CourseTrackerApplication started successfully with Log4j2 configuration");

    }

}
